package com.bjpowernode.mapper;

import com.bjpowernode.model.TClue;
import com.bjpowernode.result.NameValueData;

import java.util.List;

public interface TClueMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TClue record);

    int insertSelective(TClue record);

    TClue selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TClue record);

    int updateByPrimaryKey(TClue record);

    List<TClue> selectCluePage();

    void save(List<TClue> cachedDataList, Integer loginUserId);

    int selectCountByPhone(String phone);

    int deleteByIds(List<String> idList);

    TClue selectClueDetailById(Integer id);

    Integer clueCount();

    Integer selectClueCount();

    List<NameValueData> selectBySourceGroup();
}